package ucd.smarthome.databaseinterface;

import com.google.gson.Gson;

public interface DatabaseInterface {
	public boolean storeAppliance(Appliance singleAppliance);
	public Appliance getAppliance(String id);
	public Appliance[] getAllAppliance();
	public boolean updateAppliance(Appliance singleAppliance);
	public boolean removeAppliance(String id);
	public boolean activeAppliance(String id);
	public boolean deactiveAppliance(String id);
	public User checkUser(String username,String pwd) throws Exception;
	public boolean updateUser(User user);
	public boolean deleteUser(String username) throws Exception;
	
}
